.class public Ldbgc/DService;
.super Landroid/app/Service;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ldbgc/DService$a;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Ldgb/b;

.field private c:Ldgb/n;

.field private d:Ldgb/v;

.field private e:Ldgb/d;

.field final f:Landroid/os/Messenger;


# direct methods
.method public constructor <init>()V
    .locals 3

    .line 1
    invoke-direct {p0}, Landroid/app/Service;-><init>()V

    .line 2
    new-instance v0, Landroid/os/Messenger;

    new-instance v1, Ldbgc/DService$a;

    invoke-static {}, Ldgb/b0;->a()Landroid/os/Looper;

    move-result-object v2

    invoke-direct {v1, p0, v2}, Ldbgc/DService$a;-><init>(Ldbgc/DService;Landroid/os/Looper;)V

    invoke-direct {v0, v1}, Landroid/os/Messenger;-><init>(Landroid/os/Handler;)V

    iput-object v0, p0, Ldbgc/DService;->f:Landroid/os/Messenger;

    return-void
.end method

.method static synthetic a(Ldbgc/DService;)Ldgb/n;
    .locals 0

    .line 1
    iget-object p0, p0, Ldbgc/DService;->c:Ldgb/n;

    return-object p0
.end method

.method static synthetic b(Ldbgc/DService;)Ldgb/b;
    .locals 0

    .line 1
    iget-object p0, p0, Ldbgc/DService;->b:Ldgb/b;

    return-object p0
.end method

.method static synthetic c(Ldbgc/DService;)Ldgb/v;
    .locals 0

    .line 1
    iget-object p0, p0, Ldbgc/DService;->d:Ldgb/v;

    return-object p0
.end method


# virtual methods
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .locals 1

    .line 1
    sget-boolean p1, Ldgb/z;->c:Z

    if-eqz p1, :cond_0

    const-string p1, "stat.DService"

    const-string v0, "DService onBind"

    .line 2
    invoke-static {p1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 3
    :cond_0
    iget-object p1, p0, Ldbgc/DService;->c:Ldgb/n;

    invoke-virtual {p1}, Ldgb/n;->a()V

    .line 4
    iget-object p1, p0, Ldbgc/DService;->e:Ldgb/d;

    invoke-virtual {p1}, Ldgb/d;->a()V

    .line 5
    invoke-virtual {p0}, Landroid/app/Service;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Ldgb/z;->a(Landroid/content/Context;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 6
    invoke-virtual {p0}, Landroid/app/Service;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Ldgb/p4;->a(Landroid/content/Context;)Ldgb/p4;

    move-result-object p1

    invoke-virtual {p1}, Ldgb/p4;->a()V

    .line 7
    :cond_1
    iget-object p1, p0, Ldbgc/DService;->f:Landroid/os/Messenger;

    invoke-virtual {p1}, Landroid/os/Messenger;->getBinder()Landroid/os/IBinder;

    move-result-object p1

    return-object p1
.end method

.method public onCreate()V
    .locals 2

    .line 1
    sget-boolean v0, Ldgb/z;->c:Z

    if-eqz v0, :cond_0

    const-string v0, "stat.DService"

    const-string v1, "DService onCreate"

    .line 2
    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 3
    :cond_0
    invoke-virtual {p0}, Landroid/app/Service;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Ldbgc/DService;->a:Landroid/content/Context;

    .line 4
    new-instance v1, Ldgb/b;

    invoke-direct {v1, v0}, Ldgb/b;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Ldbgc/DService;->b:Ldgb/b;

    .line 5
    new-instance v0, Ldgb/n;

    iget-object v1, p0, Ldbgc/DService;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldgb/n;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Ldbgc/DService;->c:Ldgb/n;

    .line 6
    new-instance v0, Ldgb/d;

    iget-object v1, p0, Ldbgc/DService;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldgb/d;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Ldbgc/DService;->e:Ldgb/d;

    .line 7
    new-instance v0, Ldgb/v;

    iget-object v1, p0, Ldbgc/DService;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldgb/v;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Ldbgc/DService;->d:Ldgb/v;

    return-void
.end method

.method public onDestroy()V
    .locals 2

    .line 1
    sget-boolean v0, Ldgb/z;->c:Z

    if-eqz v0, :cond_0

    const-string v0, "stat.DService"

    const-string v1, "DService onDestroy"

    .line 2
    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 3
    :cond_0
    iget-object v0, p0, Ldbgc/DService;->c:Ldgb/n;

    invoke-virtual {v0}, Ldgb/n;->b()V

    .line 4
    iget-object v0, p0, Ldbgc/DService;->b:Ldgb/b;

    invoke-virtual {v0}, Ldgb/b;->b()V

    .line 5
    iget-object v0, p0, Ldbgc/DService;->e:Ldgb/d;

    invoke-virtual {v0}, Ldgb/d;->b()V

    return-void
.end method
